<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>


<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<script type="text/javascript">
	function customerCancel() {
		alert("cancel");
	}
</script>
<body>

	<div class="pageContent">
		<form name="customerForm" method="post" action="saveCustomerInfo"
			class="pageForm required-validate"
			onsubmit="return validateCallback(this,popAjaxCallBack)">
			<div class="pageFormContent nowrap" layoutH="97">
				<fieldset>
					<legend class="contentTitle">
						<c:if test="${editType==1}">
							<s:text name="customerInfoNew.title" />
						</c:if>
						<c:if test="${editType==0}">
							<s:text name="customerInfoEdit.title" />

						</c:if>
					</legend>
					<s:hidden name="editType"></s:hidden>
					<s:hidden name="model.customerInfoId"></s:hidden>
					<dl>
						<dd>

							<s:textfield key="customerInfo.customerName"
								name="model.customerName" cssClass="required"></s:textfield>
						</dd>
					</dl>
					<dl>
						<dd>
							<s:textarea key="customerInfo.note" name="model.note" cols="50"
								rows="20" />
						</dd>
					</dl>
				</fieldset>
			</div>
			<div class="formBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">保存</button>
							</div>
						</div>
					</li>
					<li>
						<div class="button">
							<div class="buttonContent">
								<button type="Button" class="close">取消</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</form>

	</div>
</body>
</html>